/**
 * 自增id
 */
export function useId(prefix: string = "custom") {
  let id = 0
  return () => {
    id++
    return `${prefix}_${id}`
  }
}
